package com.adison.performancedemo;

import com.adison.performancedemo.ui.UIActivity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;

public class MainActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);

    }

    public void view(View view){
        //UI渲染
        startActivity(new Intent(this, UIActivity.class));
    }

    public void memory(View view){
        //内存管理
    }
    public void battery(View view){
        //耗电优化
    }
    public void network(View view){
        //网络优化
    }
    public void cpu(View view){
        //cpu计算
    }
}
